home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / cxux.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-04  |  3.9 KB  |  136 lines

  1. /* Header file for Harris CXUX.
  2.    Copyright (C) 1994 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: FSF 19.29. */
  21.  
  22. /*
  23.  *    Define symbols to identify the version of Unix this is.
  24.  *    Define all the symbols that apply correctly.
  25.  */
  26.  
  27. /* #define UNIPLUS */
  28. #define USG5
  29. #define USG
  30. /* #define HPUX */
  31. /* #define UMAX */
  32. /* #define BSD4_1 */
  33. /* #define BSD4_2 */
  34. /* #define BSD4_3 */
  35. /* #define BSD */
  36. /* #define VMS */
  37.  
  38. #ifndef    _CX_UX
  39. #define    _CX_UX 1
  40. #endif
  41.  
  42. /* Define this symbol if you are running CX/UX 7.0 or later (7.0 introduced
  43.  * support for ELF files, and while we still build emacs in COFF format, the
  44.  * way it is linked is different for 7.0).
  45.  */
  46. /* #define USING_CX_UX_7 */
  47.  
  48. #ifdef USING_CX_UX_7
  49. #define LINKER /usr/sde/coff/usr/bin/ld
  50. #define LD_SWITCH_SYSTEM -L/usr/sde/coff/usr/lib -zzero_word
  51. #define START_FILES pre-crt0.o /usr/sde/coff/usr/lib/crt0.o /usr/sde/coff/usr/lib/m88100.o
  52. #else    /* !USING_CX_UX_7 */
  53. #ifdef    _M88K
  54. #define    START_FILES pre-crt0.o /lib/crt0.o
  55. #else
  56. #define    START_FILES cxux-crt0.o /lib/crt0.o
  57. #endif
  58. #endif    /* USING_CX_UX_7 */
  59.  
  60. /* SYSTEM_TYPE should indicate the kind of system you are using.
  61.  It sets the Lisp variable system-type.  */
  62.  
  63. #define SYSTEM_TYPE "usg-unix-v"
  64.  
  65. #define C_SWITCH_SYSTEM -Xa
  66.  
  67. /* Letter to use in finding device name of first pty,
  68.   if system supports pty's.  'a' means it is /dev/ptya0  */
  69.  
  70. #define FIRST_PTY_LETTER 'A'
  71. #define    PTY_ITERATION    for (c = 'A'; c <= 'P'; c++) for (i = 0; i < 16; i++)
  72.  
  73. #define NO_TERMIO
  74.  
  75. /*
  76.  *    Define HAVE_PTYS if the system supports pty devices.
  77.  */
  78.  
  79. #define HAVE_PTYS
  80.  
  81. /* If your system uses COFF (Common Object File Format) then define the
  82.    preprocessor symbol "COFF". */
  83.  
  84. #define COFF
  85.  
  86. /* define MAIL_USE_FLOCK if the mailer uses flock
  87.    to interlock access to /usr/spool/mail/$USER.
  88.    The alternative is that a lock file named
  89.    /usr/spool/mail/$USER.lock.  */
  90.  
  91. #define MAIL_USE_FLOCK
  92.  
  93. /* If the character used to separate elements of the executable path
  94.    is not ':', #define this to be the appropriate character constant.  */
  95. /* #define SEPCHAR ':' */
  96.  
  97. /* Here, on a separate page, add any special hacks needed
  98.    to make Emacs work on this system.  For example,
  99.    you might define certain system call names that don't
  100.    exist on your system, or that do different things on
  101.    your system and must be used only through an encapsulation
  102.    (Which you should place, by convention, in sysdep.c).  */
  103.  
  104. /* The symbol in the kernel where the load average is found
  105.    is named _avenrun.  */
  106.  
  107. #define LDAV_SYMBOL "_avenrun"
  108.  
  109. #define KERNEL_FILE "/unix"
  110.  
  111. /* There are too many kludges required to redefine malloc - use the system
  112.    one */
  113. #define SYSTEM_MALLOC
  114.  
  115. /* const really does work, but I can't get configure to run the C compiler
  116.  * with the right options so it figures that out.
  117.  */
  118. #undef const
  119.  
  120. #define HAVE_GETWD
  121.  
  122. /*
  123.  * <pwd.h> already declares getpwuid, and with a uid_t argument in ANSI C
  124.  * mode.  Define this so xrdb.c will compile
  125.  */
  126. #ifdef    __STDC__
  127. #define    DECLARE_GETPWUID_WITH_UID_T
  128. #endif
  129.  
  130. /* Some compilers tend to put everything declared static
  131.    into the initialized data area, which becomes pure after dumping Emacs.
  132.    On these systems, you must #define static as nothing to foil this.
  133.    Note that emacs carefully avoids static vars inside functions.  */
  134.  
  135. /* #define static */
  136.